package com.tjnu.baiyi.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * TbAlbum entity. @author MyEclipse Persistence Tools
 */

public class TbAlbum implements java.io.Serializable {
	private static final long serialVersionUID = 1744294186069915575L;
	private Integer albumId;
	private TbUser tbUser;
	private TbAlbumType tbAlbumType;
	private String albumName;
	private String albumRestrict;
	private Integer albumHot;
	private Integer visitorSize;
	private String showPhotoPath;
	private Set tbComments = new HashSet(0);
	private Set tbAlbumVisitors = new HashSet(0);
	private Set tbPhotos = new HashSet(0);

	// Constructors

	/** default constructor */
	public TbAlbum() {
	}

	/** minimal constructor */
	public TbAlbum(TbAlbumType tbAlbumType, String albumName,
			String albumRestrict, Integer albumHot) {
		this.tbAlbumType = tbAlbumType;
		this.albumName = albumName;
		this.albumRestrict = albumRestrict;
		this.albumHot = albumHot;
	}

	/** full constructor */
	public TbAlbum(TbUser tbUser, TbAlbumType tbAlbumType, String albumName,
			String albumRestrict, Integer albumHot, Set tbComments,
			Set tbAlbumVisitors, Set tbPhotos) {
		this.tbUser = tbUser;
		this.tbAlbumType = tbAlbumType;
		this.albumName = albumName;
		this.albumRestrict = albumRestrict;
		this.albumHot = albumHot;
		this.tbComments = tbComments;
		this.tbAlbumVisitors = tbAlbumVisitors;
		this.tbPhotos = tbPhotos;
	}

	// Property accessors

	public Integer getAlbumId() {
		return this.albumId;
	}

	public void setAlbumId(Integer albumId) {
		this.albumId = albumId;
	}

	public TbUser getTbUser() {
		return this.tbUser;
	}

	public void setTbUser(TbUser tbUser) {
		this.tbUser = tbUser;
	}

	public TbAlbumType getTbAlbumType() {
		return this.tbAlbumType;
	}

	public void setTbAlbumType(TbAlbumType tbAlbumType) {
		this.tbAlbumType = tbAlbumType;
	}

	public String getAlbumName() {
		return this.albumName;
	}

	public void setAlbumName(String albumName) {
		this.albumName = albumName;
	}

	public String getAlbumRestrict() {
		return this.albumRestrict;
	}

	public void setAlbumRestrict(String albumRestrict) {
		this.albumRestrict = albumRestrict;
	}

	public Integer getAlbumHot() {
		return this.albumHot;
	}

	public Integer getVisitorSize() {
		return visitorSize;
	}

	public void setVisitorSize(Integer visitorSize) {
		this.visitorSize = visitorSize;
	}

	public String getShowPhotoPath() {
		return showPhotoPath;
	}

	public void setShowPhotoPath(String showPhotoPath) {
		this.showPhotoPath = showPhotoPath;
	}

	public void setAlbumHot(Integer albumHot) {
		this.albumHot = albumHot;
	}

	public Set getTbComments() {
		return this.tbComments;
	}

	public void setTbComments(Set tbComments) {
		this.tbComments = tbComments;
	}

	public Set getTbAlbumVisitors() {
		return this.tbAlbumVisitors;
	}

	public void setTbAlbumVisitors(Set tbAlbumVisitors) {
		this.tbAlbumVisitors = tbAlbumVisitors;
	}

	public Set getTbPhotos() {
		return this.tbPhotos;
	}

	public void setTbPhotos(Set tbPhotos) {
		this.tbPhotos = tbPhotos;
	}

}